-
Home
-
Web Stories
-
1.40.0
-
Code
-
Classes
- SVG
| Total Complexity |
38 |
| Dependencies |
5 |
| Dependents |
0 |
| Total lines |
378 |
| Lines of code |
158 |
| Logical lines of code |
97 |
| Comment lines |
136 |
| Methods |
14 |
| Properties |
2 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_svg_size() |
A |
52 |
8 |
23 |
| wp_generate_attachment_metadata() |
S |
52 |
5 |
25 |
| wp_handle_upload() |
S |
60 |
4 |
14 |
| get_xml() |
S |
58 |
3 |
17 |
| register() |
S |
57 |
3 |
16 |
| sanitize() |
S |
60 |
3 |
13 |
| get_svg_data() |
S |
63 |
3 |
11 |
| filter_list_of_allowed_filetypes() |
S |
66 |
2 |
8 |
| wp_check_filetype_and_ext() |
S |
64 |
2 |
10 |
| __construct() |
S |
81 |
1 |
3 |
| upload_mimes_add_svg() |
S |
73 |
1 |
5 |
| mime_types_add_svg() |
S |
75 |
1 |
4 |
| web_stories_allowed_mime_types() |
S |
76 |
1 |
4 |
| svg_already_enabled() |
S |
72 |
1 |
5 |